﻿@model KKU.RBSFPP.Shared.DAC.ProductPricingPerUnit

@{
    ViewBag.Title = "Create";
}

@Html.Partial("_AccountManagement")

<h3><span class="label label-success"><span class="glyphicon glyphicon-plus"></span> เพิ่มราคาซื้อ-ขาย</span></h3>


@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend></legend>

     
            <h4>ราคารับซื้อ</h4>
        
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PurchasingPrice, new { @class="form-control" ,placeholder="ราคารับซื้อ"})
            @Html.ValidationMessageFor(model => model.PurchasingPrice)
        </div>

        <h4>ราคาขาย</h4>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.SellingPrice, new { @class="form-control" ,placeholder="ราคาขาย"})
            @Html.ValidationMessageFor(model => model.SellingPrice)
        </div>


          <legend></legend>

        <p>
            <a href=@Url.Action("Index", "ProductPricingPerUnit") class="btn btn-danger"><span class="glyphicon glyphicon-remove-circle"></span> ยกเลิก</a>
            <button type="submit" class="btn btn-success"><span class="glyphicon glyphicon-ok-circle"></span> ตกลง</button>
        </p>

        
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
